package com.example.flowermall.service;

import com.example.flowermall.entity.UserAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoman
 * @since 2023-09-04
 */
public interface IUserAddressService extends IService<UserAddress> {

    List<UserAddress> getListByUserId(Integer id);

    UserAddress getUserAddressById(Integer id);

    void updateUserAddress(UserAddress userAddress);

    void deleteById(Integer id);

    Integer countByUserId(Integer userId);
}
